<?php
/**
 * Created by PhpStorm.
 * User: xaq
 * Date: 2017/5/11
 * Time: 17:04
 */

namespace app\api\validate;

use think\Validate;


class PageMustBePostiveInt extends BaseValidate
{
    protected $rule = [
        'page' => 'require|isPositiveInteger',
    ];
    protected $message = [
        'page' => '传入的页数必须是正整数',
    ];
}